package com.example.lisongyu;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class TiaoActivity extends AppCompatActivity {
    private Button id_tiaoshouye,id_tiaodenglu;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_tiao);
        id_tiaoshouye = findViewById(R.id.id_tiaoshouye);
        id_tiaoshouye.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(TiaoActivity.this,MainActivity.class));
            }
        });
        id_tiaodenglu = findViewById(R.id.id_tiaodenglu);
        id_tiaodenglu.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(TiaoActivity.this,DengluActivity.class));
            }
        });
    }
}